package cn.com.itg.pojo.domain.vo;

import cn.com.itg.pojo.domain.vo.response.BaseResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@Data
public class AccessTokenResponseVO extends BaseResponse implements Serializable {

    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO implements Serializable {
        @JsonProperty("access_token")
        private String accessToken;
        @JsonProperty("expire")
        private Integer expire;
    }
}